<template>
  <div>
    <avue-form v-model="recForm" :option="option" @submit="submitForm"></avue-form>
  </div>
</template>

<script>
  export default {
    name: 'common-date',
    props: ['option', 'objForm'],
    data () {
      return {
        recForm: this.objForm
      }
    },
    methods: {
      submitForm (param, done) {
        this.$emit('submitForm', param, done)
      }
    }
  }
</script>

<style scoped>

</style>
